---
title: "get device attribute value · RUAL Documentation"
description: "With this block you can update a attribute of an device."
canonical: https://docs.rual.nl/block-types/Home Automaton/aqaraconnection_device_get_attribute_value
language: en
---

# get device attribute value

This block is part of the [`Home Automaton`](https://docs.rual.nl/block-types/Home%20Automaton) group and was last modified in core [`v13.0.8`](https://docs.rual.nl/core-versions/130008).

With this block you can update a attribute of an device.

- flow `flow`

- Connection required `aqaraconnection` An authenciated aqara connection

- Device ID required `value` The device ID of the device you want to update.

- Attribute resource ID required `value` The resource ID of the attribute you want to change.

- flow `flow`

- Connection `aqaraconnection` The aqara connection.

- Success `condition` If successful, this pin returns true.

- Attribute value `value` The attribute value.

- Error `value` Error message if the attribute value could not be requested.

A typical wiring for [get device attribute value](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_device_get_attribute_value): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [open connection](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_open) feeds the `connection` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the get device attribute value block: typical wiring for get device attribute value.](https://docs.rual.nl/canvas-examples/aqaraconnection_device_get_attribute_value.png)

### Version history

Introduced in [`v13.0.8`](https://docs.rual.nl/core-versions/130008).
